Skip to content

Latest commit

 

History

History
215 lines (125 loc) · 6.79 KB

ns-parallel-_parallel_pnp_information.md

File metadata and controls

215 lines (125 loc) · 6.79 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:parallel._PARALLEL_PNP_INFORMATION
_PARALLEL_PNP_INFORMATION (parallel.h)
The PARALLEL_PNP_INFORMATION structure specifies information about the capabilities of a parallel port.
parports\parallel_pnp_information.htm
parports
02/15/2018
PARALLEL_PNP_INFORMATION structure
*PPARALLEL_PNP_INFORMATION, PARALLEL_PNP_INFORMATION, PARALLEL_PNP_INFORMATION structure [Parallel Ports], PPARALLEL_PNP_INFORMATION, PPARALLEL_PNP_INFORMATION structure pointer [Parallel Ports], _PARALLEL_PNP_INFORMATION, cisspd_71ac405c-ab56-434c-a945-9afee36c0972.xml, parallel/PARALLEL_PNP_INFORMATION, parallel/PPARALLEL_PNP_INFORMATION, parports.parallel_pnp_information
parallel.h
Parallel.h
Windows
Windows
PARALLEL_PNP_INFORMATION, *PPARALLEL_PNP_INFORMATION
_PARALLEL_PNP_INFORMATION
parallel/_PARALLEL_PNP_INFORMATION
PPARALLEL_PNP_INFORMATION
parallel/PPARALLEL_PNP_INFORMATION
PARALLEL_PNP_INFORMATION
parallel/PARALLEL_PNP_INFORMATION
APIRef
kbSyntax
HeaderDef
parallel.h
_PARALLEL_PNP_INFORMATION
PPARALLEL_PNP_INFORMATION
PARALLEL_PNP_INFORMATION

_PARALLEL_PNP_INFORMATION structure

-description

The PARALLEL_PNP_INFORMATION structure specifies information about the capabilities of a parallel port.

-struct-fields

-field OriginalEcpController

Specifies the base physical address that the system-supplied function driver for parallel ports uses to control the ECP operation of the parallel port.

-field EcpController

Pointer to the I/O port resource that is used to control the port in ECP mode.

-field SpanOfEcpController

Specifies the size, in bytes, of the I/O port resource.

-field PortNumber

Not used.

-field HardwareCapabilities

Specifies the hardware capabilities of the parallel port. The following capabilities can be set using a bitwise OR of the following constants:

PPT_1284_3_PRESENT

PPT_BYTE_PRESENT

PPT_ECP_PRESENT

PPT_EPP_32_PRESENT

PPT_EPP_PRESENT

PT_NO_HARDWARE_PRESENT

-field TrySetChipMode

Pointer to the system-supplied PPARALLEL_SET_CHIP_MODE callback that a kernel-mode driver can use to change the operating mode of the parallel port.

-field ClearChipMode

Pointer to the system-supplied PPARALLEL_CLEAR_CHIP_MODE callback that a kernel-mode driver can use to clear the operating mode of the parallel port.

-field FifoDepth

Specifies the size, in words, of the hardware first in/first out (FIFO) buffer. The FIFO word size, in bits, is the value of FifoWidth.

-field FifoWidth

Specifies the FIFO word size, in bits, which is the number of bits handled in parallel.

-field EppControllerPhysicalAddress

Not used.

-field SpanOfEppController

Not used.

-field Ieee1284_3DeviceCount

Specifies the number of daisy-chain devices currently attached to a parallel port. In Microsoft Windows XP, from zero to two devices can be simultaneously connected to a parallel port. In Windows 2000, from zero to four devices can be simultaneously connected to a parallel port.

-field TrySelectDevice

Pointer to the system-supplied PPARALLEL_TRY_SELECT_ROUTINE callback that a kernel-mode driver can use to attempt to select an IEEE 1284.3 device.

-field DeselectDevice

Pointer to the system-supplied PPARALLEL_DESELECT_ROUTINE callback that a kernel-mode driver can use to deselect an IEEE 1284.3 device.

-field Context

Pointer to the device extension of a parallel port's functional device object (FDO).

-field CurrentMode

The current operating mode of the parallel port.

-field PortName

The symbolic link name of the parallel port.

-syntax

typedef struct _PARALLEL_PNP_INFORMATION {
  PHYSICAL_ADDRESS             OriginalEcpController;
  PUCHAR                       EcpController;
  ULONG                        SpanOfEcpController;
  ULONG                        PortNumber;
  ULONG                        HardwareCapabilities;
  PPARALLEL_SET_CHIP_MODE      TrySetChipMode;
  PPARALLEL_CLEAR_CHIP_MODE    ClearChipMode;
  ULONG                        FifoDepth;
  ULONG                        FifoWidth;
  PHYSICAL_ADDRESS             EppControllerPhysicalAddress;
  ULONG                        SpanOfEppController;
  ULONG                        Ieee1284_3DeviceCount;
  PPARALLEL_TRY_SELECT_ROUTINE TrySelectDevice;
  PPARALLEL_DESELECT_ROUTINE   DeselectDevice;
  PVOID                        Context;
  ULONG                        CurrentMode;
  PWSTR                        PortName;
} PARALLEL_PNP_INFORMATION, *PPARALLEL_PNP_INFORMATION;

-remarks

For more information, see Obtaining Information About a ParallelPort.

-see-also

IOCTL_INTERNAL_GET_PARALLEL_PORT_INFO

PPARALLEL_TRY_SELECT_ROUTINE

PARALLEL_PORT_INFORMATION

IOCTL_INTERNAL_GET_MORE_PARALLEL_PORT_INFO

MORE_PARALLEL_PORT_INFORMATION

PPARALLEL_SET_CHIP_MODE

PPARALLEL_DESELECT_ROUTINE

PPARALLEL_CLEAR_CHIP_MODE

IOCTL_INTERNAL_GET_PARALLEL_PNP_INFO